package cn.com.nes.mybatis.agent.ope.mapper;

import cn.com.nes.mybatis.agent.ope.entity.IsEquipmentInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EquipmentMapper extends BaseMapper {

    IsEquipmentInfo getEquipmentInfoBySbId(String sbId);


    int deleteBySbId(String sbId);


    int deleteTimerBySbId(@Param("sbId") String sbId, @Param("sjly") String sjly);


    Integer updateTimeStampByWxId(@Param("wxId") String wxId, @Param("sjly") String sjly);


    int updateUntyingStatusBySbId(@Param("sbId") String sbId, @Param("sjly") String sjly);


    List<IsEquipmentInfo> selectByExample(String sbPid);


    int updateByPrimaryKeySelective(IsEquipmentInfo equipment);


    String getManufactureSecret(@Param("manufactureId") String manufactureId);


    String getCallCenterCompanyId(@Param("sbId") String sbId);

}
